﻿using Microsoft.Extensions.Localization;
using Cap.PcWebSite.Localization;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Ui.Branding;

namespace Cap.PcWebSite;

[Dependency(ReplaceServices = true)]
public class PcWebSiteBrandingProvider : DefaultBrandingProvider
{
    private IStringLocalizer<PcWebSiteResource> _localizer;

    public PcWebSiteBrandingProvider(IStringLocalizer<PcWebSiteResource> localizer)
    {
        _localizer = localizer;
    }

    public override string AppName => _localizer["AppName"];
}
